Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODWindowIterator


Last

The Last method begins the iteration and returns a reference to the last window in the window state.

ODWindow Last ();
return value
A reference to the last window in the window state.
DISCUSSION
If you are iterating from the last window to the first, your part must call this method before calling this window iterator's IsNotComplete method for the first time. This method may be called multiple times; each time resets the iteration.

Call the Previous method to step through the window list from last to first.

This method does not increment the reference count of the returned window object.

EXCEPTIONS
kODErrIteratorOutOfSync
The list of open windows was modified while the iteration was in progress.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help